package com.ddwl.goods.dao.mapper;

import com.ddwl.goods.dao.model.ActivityItem;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ActivityItemMapper {
    void insert(@Param("activityItem")ActivityItem activityItem);

    void update(@Param("activityItem")ActivityItem activityItem);

    void deleteByActivityId(@Param("activityId")String activityId);

    ActivityItem findByItemId(@Param("itemId")String itemId);

     public void deleteByItemId(@Param("itemId")String itemId);
}
